home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4265 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: doc.ic.ac.uk!not-for-mail
  2. From: mdf@doc.ic.ac.uk (Martin Frost)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: MsgPorts and lists
  5. Date: 26 Feb 1996 17:18:12 -0000
  6. Organization: Dept. of Computing, Imperial College, University of London, UK.
  7. Distribution: world
  8. Message-ID: <4gsq0k$ds1@oak42.doc.ic.ac.uk>
  9. References: <1527.6618T48T2102@amiga.pp.se> <31227335.0@eden.adam.com.au> <4g2clq$1n1@oak73.doc.ic.ac.uk> <490.6623T1192T1723@amiga.pp.se>
  10. Reply-To: mdf@doc.ic.ac.uk (Martin Frost)
  11. NNTP-Posting-Host: oak42.doc.ic.ac.uk
  12. X-Newsreader: mxrn 6.18-23
  13.  
  14.  
  15. In article <490.6623T1192T1723@amiga.pp.se>, mikael.berglund@amiga.pp.se (Mikael Berglund) writes:
  16. >And is Intuition seen as interrupt or process? Anyone? Will
  17. >Disable()/Enable() prevent Intuition from adding messages to the port?
  18.  
  19. Looking at the CloseWindowSafely() code in RKM Libraries, it appears that just
  20. a Forbid() is actually sufficient. The code does a Forbid() and then scans
  21. through the list on the ln_Succ pointers, Remove()ing and ReplyMsg()ing those
  22. it doesn't want.
  23.  
  24. So it seems that the extreme of Disable() is unnecessary.
  25.  
  26. Martin
  27.